<ul class="sub-nav">
<?php
foreach($results as $nav){ ?>
	<li onclick="window.location.href='<?php echo base_url().$nav->uri;?>">
		<a href="<?php echo base_url().$nav->uri;?>"><?php echo $nav->title; ?>
	</a></li>
<?php }?>
</ul>
